package com.tanhua.api.mongo;

import com.tanhua.domain.mongo.UserLike;
import com.tanhua.domain.vo.PageBeanVo;

public interface UserLikeApi {
    long findloveCount(Long id);

    long findfanCount(Long id);

    //查询我喜欢的数据
    PageBeanVo findUserListList(Integer page, Integer pagesize, Long id);

    //查询喜欢我的数据
    PageBeanVo findUserList(Integer page, Integer pagesize, Long id);

    void saveFans(UserLike userLike);

    void deleteUserLike(Long id, Integer uid);

    boolean isLove(Long userId,Long likeUserId);

    //是否是我的粉丝
    boolean isFan(Long userId,Long uid);

    void save(Long userId, Long uid);
}
